package com.tyl.builder建造者模式.demo;
//指挥：负责构建工程，工程如何构建取决于他
public class Director {
    //指挥工人按照顺序建造
    public Porduct build(Builder builder){
        builder.buildeC();
        builder.buildeD();
        builder.buildeA();
        builder.buildeB();
        return  builder.getPorduct();
    }
}
